export default {
    data() {
        return {
        }
    },
    methods: {
        async fetch(){
            const res = await this.$http.post("/data");
            console.log(res.data);
            this.$message({
                type: "success",
                message: "获取成功！"
            });
            this.$router.push("/data");
        }
    }
}